package 设计模式.原型.深拷贝;


import java.util.List;

public class DeepProtoType implements Cloneable{

    private int age;
    private String name;
    private List<String> hobbies;

    @Override
    protected DeepProtoType clone() throws CloneNotSupportedException {
        return (DeepProtoType) super.clone();
    }

    @Override
    public String toString() {
        return super.toString();
    }
}
